package com.sean.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "product-nacos", path = "/product")
public interface ProductFeignService {
    @RequestMapping("get/{id}")
    public String getProductById(@PathVariable("id") Integer id);
}
